package com.fr.web.platform.tables;

import com.fr.data.core.db.dml.Table;
import com.fr.data.core.db.tableObject.AbstractModuleTables;
import com.fr.data.core.db.tableObject.AbstractTableObject;
import com.fr.data.core.db.tableObject.Column;
import com.fr.data.core.db.tableObject.ColumnSize;
import java.util.List;

public class PlatTables extends AbstractModuleTables
{
  protected void initTableObjectList()
  {
    this.tableObjectList.add(new FR_FOLDERENTRY(this, null));
    this.tableObjectList.add(new FR_FILEENTRY(this, null));
    this.tableObjectList.add(new FR_REPORTLETENTRY(this, null));
    this.tableObjectList.add(new FR_URLENTRY(this, null));
    this.tableObjectList.add(new FR_SCHEDULE_TASK(this, null));
    this.tableObjectList.add(new FR_SHEDULE_OUTPUT(this, null));
    this.tableObjectList.add(new FR_SCHEDULE_EMAIL(this, null));
    this.tableObjectList.add(new FR_ONCE_ITRIGGER(this, null));
    this.tableObjectList.add(new FR_SIMPLE_ITRIGGER(this, null));
    this.tableObjectList.add(new FR_CALENDAR_ITRIGGER(this, null));
  }

  private class FR_CALENDAR_ITRIGGER extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_CALENDAR_ITRIGGER()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_calendar_itrigger");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("timezone_id", 12, new ColumnSize(255));
      addColumn("start_type", 4, new ColumnSize(5));
      addColumn("startTime", 93, new ColumnSize());
      addColumn("repeat_count", 4, new ColumnSize(5));
      addColumn("endTime", 93, new ColumnSize());
      addColumn("minutes", 4, new ColumnSize(10));
      addColumn("hours", 4, new ColumnSize(10));
      addColumn("day_type", 4, new ColumnSize(10));
      addColumn("week_days", 12, new ColumnSize(255));
      addColumn("month_days", 12, new ColumnSize(255));
      addColumn("months", 12, new ColumnSize(255));
    }

    FR_CALENDAR_ITRIGGER(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_SIMPLE_ITRIGGER extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_SIMPLE_ITRIGGER()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_simple_itrigger");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("timezone_id", 12, new ColumnSize(255));
      addColumn("start_type", 4, new ColumnSize(5));
      addColumn("startTime", 93, new ColumnSize());
      addColumn("repeat_count", 4, new ColumnSize(5));
      addColumn("endTime", 93, new ColumnSize());
      addColumn("recurrence_interval", 4, new ColumnSize(10));
      addColumn("recurrence_interval_unit", 4, new ColumnSize(10));
    }

    FR_SIMPLE_ITRIGGER(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_ONCE_ITRIGGER extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_ONCE_ITRIGGER()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_once_itrigger");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("timezone_id", 12, new ColumnSize(255));
      addColumn("start_type", 4, new ColumnSize(5));
      addColumn("startTime", 93, new ColumnSize());
    }

    FR_ONCE_ITRIGGER(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_SCHEDULE_EMAIL extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_SCHEDULE_EMAIL()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_schedule_email");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("toAddress", 12, new ColumnSize(255));
      addColumn("ccAddress", 12, new ColumnSize(255));
      addColumn("bccAddress", 12, new ColumnSize(255));
      addColumn("subject", 12, new ColumnSize(255));
      addColumn("bodyContent", 12, new ColumnSize(255));
    }

    FR_SCHEDULE_EMAIL(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_SHEDULE_OUTPUT extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_SHEDULE_OUTPUT()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_schedule_output");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      Column localColumn1 = new Column("base_name", 12, new ColumnSize(255));
      this.columnsList.add(localColumn1);
      Column localColumn2 = new Column("description", 12, new ColumnSize(255));
      this.columnsList.add(localColumn2);
      Column localColumn3 = new Column("folderEntryId", 4, new ColumnSize(20));
      this.columnsList.add(localColumn3);
      Column localColumn4 = new Column("format", 4, new ColumnSize(10));
      this.columnsList.add(localColumn4);
      Column localColumn5 = new Column("emailId", 4, new ColumnSize(20));
      this.columnsList.add(localColumn5);
    }

    FR_SHEDULE_OUTPUT(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_SCHEDULE_TASK extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_SCHEDULE_TASK()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_schedule_task");
    }

    public void initColumns()
    {
      Column localColumn1 = new Column("id", 4, new ColumnSize(20));
      localColumn1.setPrimaryKey(true);
      localColumn1.setAllowNull(false);
      localColumn1.setSelfIncrease(true);
      this.columnsList.add(localColumn1);
      Column localColumn2 = new Column("groupId", 4, new ColumnSize(20));
      this.columnsList.add(localColumn2);
      Column localColumn3 = new Column("name", 12, new ColumnSize(255));
      this.columnsList.add(localColumn3);
      Column localColumn4 = new Column("description", 12, new ColumnSize(255));
      this.columnsList.add(localColumn4);
      Column localColumn5 = new Column("itriggerId", 4, new ColumnSize(20));
      this.columnsList.add(localColumn5);
      Column localColumn6 = new Column("task_parameters", 12, new ColumnSize(255));
      this.columnsList.add(localColumn6);
      Column localColumn7 = new Column("reportletPath", 12, new ColumnSize(255));
      this.columnsList.add(localColumn7);
      Column localColumn8 = new Column("scheduledOupputId", 4, new ColumnSize(20));
      this.columnsList.add(localColumn8);
    }

    FR_SCHEDULE_TASK(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_REPORTLETENTRY extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_REPORTLETENTRY()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_reportletentry");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("parent", 4, new ColumnSize(20));
      addColumn("name", 12, new ColumnSize(255));
      addColumn("reportletPath", 12, new ColumnSize(255));
      addColumn("isView", 4, new ColumnSize(5));
      addColumn("description", 12, new ColumnSize(255));
      addColumn("transmitParameters", 12, new ColumnSize(255));
    }

    FR_REPORTLETENTRY(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_URLENTRY extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_URLENTRY()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_urlentry");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("parent", 4, new ColumnSize(20));
      addColumn("name", 12, new ColumnSize(255));
      addColumn("description", 12, new ColumnSize(255));
      addColumn("url", 12, new ColumnSize(255));
    }

    FR_URLENTRY(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_FILEENTRY extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_FILEENTRY()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_fileentry");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("parent", 4, new ColumnSize(20));
      addColumn("name", 12, new ColumnSize(255));
      addColumn("description", 12, new ColumnSize(255));
      addColumn("uri", 12, new ColumnSize(255));
    }

    FR_FILEENTRY(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }

  private class FR_FOLDERENTRY extends AbstractTableObject
  {
    private final PlatTables this$0;

    private FR_FOLDERENTRY()
    {
      this.this$0 = paramPlatTables;
    }

    public java.lang.String foreignReference()
    {
      return null;
    }

    public Table getTable()
    {
      return new Table("fr_folderentry");
    }

    public void initColumns()
    {
      addColumn("id", 4, new ColumnSize(20), false, true, false, true);
      addColumn("parent", 4, new ColumnSize(20));
      addColumn("name", 12, new ColumnSize(255));
      addColumn("description", 12, new ColumnSize(255));
      addColumn("uri", 12, new ColumnSize(255));
    }

    FR_FOLDERENTRY(, PlatTables.1 param1)
    {
      this(paramPlatTables);
    }
  }
}